package com.springboot.cms.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * Created by wangxianhong on 2017/7/2.
 * 相册表中的相片
 */
@Entity
@Table(name = "tb_album_photo")
public class AlbumPhoto implements Serializable{

	@Id
	@Column
	private String id;
	@Column
	private String albumId;//相册id
	@Column
	private String url;//相片地址
	@Column
	private String summary;//相片描述
	@Column
	private String sort;//相片在相册中的排序

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getAlbumId() {
		return albumId;
	}

	public void setAlbumId(String albumId) {
		this.albumId = albumId;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getSummary() {
		return summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}
}
